package com.woniuxy.three.pms.bean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class RoomBean {
	
    private Integer id;

    private String roomNumber;


    private RoomTypeBean type =new RoomTypeBean();


    @NotBlank(message = "房间状态不能为空")
    private String status;

    private HotelBean hotel = new HotelBean();


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public RoomTypeBean getType() {
		return type;
	}

	public void setType(RoomTypeBean type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public HotelBean getHotel() {
		return hotel;
	}

	public void setHotel(HotelBean hotel) {
		this.hotel = hotel;
	}

	@Override
	public String toString() {
		return "RoomBean [id=" + id + ", roomNumber=" + roomNumber + ", type=" + type + ", status=" + status
				+ ", hotel=" + hotel + "]";
	}

    
}